import request from './config'

// 搜索关键词
export const getSearchHot = () => {
  return request.get('/search/hot')
}

/**
 * 搜索建议
 */
export function getSearchSuggest(keywords) {
  return request.get('/search/suggest', {
    keywords,
    type: "mobile"
  })
}

/**
 * 搜索接口
 */
export function getSearchResult(keywords){
  return request.get('/search',{keywords})
}
